filename = '/Users/zhanghe/Desktop/readip.sh'

# 打开文件
with open(filename) as file_object:
    # 读取每行
    lines = file_object.readlines()

for line in lines:
    print(line)